{template 'common/header'}
<link rel="stylesheet" type="text/css" href="{$_W['siteroot']}addons/superman_floor/template/images/index.css" media="all">
	<div class="card border-1px">
		<div class="btn-group btn-group-justified" role="group" aria-label="Justified button group">
			<a href="{php echo $this->createMobileUrl('winlist',array('op' => 'never', 'openid' => $openid, 'rid' => $_GPC['rid']))}" class="btn btn-default {if $_GPC['op'] == 'never'}active{/if}">未兑奖</a>
			<a href="{php echo $this->createMobileUrl('winlist',array('op' => 'already', 'openid' => $openid, 'rid' => $_GPC['rid']))}" class="btn btn-default {if $_GPC['op'] == 'already'}active{/if}">已兑奖</a>
		</div>
		{if $operation == 'never'}
			<ul class="list-cash-coupon">
				{loop $list $item}
				<li>
					<a href="{php echo $this->createMobileUrl('verification', array('id' => $item['id'], 'rid' => $item['rid']))}">
						<p><span>{$item['title']}</span></p>
						<p>参加活动：{$rule_name}</p>
						<p>抢中楼层：{$item['floor']}楼</p>
						<p></p>
						<p>商家验证</p>
					</a>
				</li>
				{/loop}
			</ul>
		{/if}
		{if $operation == 'already'}
			<ul class="list-cash-coupon">
				{loop $list $item}
				<li disabled="">
					<a href="javascript:;">
						<p><span>{$item['title']}</span></p>
						<p>参加活动:{$rule_name}</p>
						<p>抢中楼层：{$item['floor']}楼</p>
						<p></p>
						<p>已经领奖</p>
					</a>
				</li>
				{/loop}
			</ul>
		{/if}
	</div>
{template 'common/footer'}